package com.lixw.jdbc.util;

import java.util.Random;

/**
 * @ClassName: Test
 * @Description:
 * @Author: xuweiLi
 * @Create: 2025/6/4 10:21
 **/
public class Test {

    private static Random random = new Random();
    public static void main(String[] args) {
        StringBuffer word = null;
        switch (random.nextInt(3)) {
            case 1: word = new StringBuffer('P');
            case 2: word = new StringBuffer('G');
            default: word = new StringBuffer('M');
        }
        word.append('a');
        word.append('i');
        word.append('n');
        System.out.println(word);
    }
}